package edu.zzu.dao;

import edu.zzu.Entity.User;
import org.springframework.web.bind.annotation.PathVariable;

public interface UserDao {
    boolean checkIfUserExistById(Long userId);
    String getPasswordById(Long userId);
    String getPasswordByTel(String tel);
    int saveUser(User user);
    boolean checkIfUserExistByTel(String tel);
    Long getIdByTel(String tel);
    int modifyPassword(Long id,String pwd);

    User selectUserByTel(String tel);

    Boolean isSourceNodeHasUser(Long sourceNode);

}
